package com.samoiloff.framework {
	import flash.display.Sprite;
	import flash.events.EventDispatcher;

	/**
	 * @author Samoiloff
	 */
	public class AbstractView extends EventDispatcher {
		
		protected var _mainMc: Sprite;		
		
		public function AbstractView(mainMc:Sprite) {
			super();
			_mainMc = mainMc;
		}
		
		public function get mainMc(): Sprite {
			return _mainMc;
		}
		
		public function destroy():void {
			_mainMc = null;
		}
	}
}
